package com.wali.modules.common.service;

import com.wali.modules.common.dao.IComChannelDao;
import com.wali.modules.common.vo.ComChannelVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author walixu
 * @ClassName com.wali.modules.common.service
 * @Description 渠道service类
 * @email wali.xu@kpmg.com
 * @date 24/01/2019 7:46 下午
 */
@Service
public class ComChannelService {

    @Autowired
    private IComChannelDao iComChannelDao;

    /**
     * @param
     * @return
     * @throws
     * @Title listAllComChannel
     * @Description 查询所有的渠道信息
     */
    public List<ComChannelVO> listAllComChannel() {
        return iComChannelDao.listComChannel(new ComChannelVO());
    }
}
